package 反射.取两个对象值不同的属性;

/**
 *
 */
public class Business {

    public static void main(String[] args) throws Exception {

        User user = new User();
        user.setName("商户1");

        User user2 = new User();
        user2.setName("商户2");
        user2.setAGe(3);
        System.out.println(FieldEquator.builder().getDiffFields(user, user2));

    }

}
